package com.znsd.zl.browse.dao;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.znsd.zl.browse.entity.TBrowseEntity;
import com.znsd.zl.browse.entity.TOrderEntity;
import com.znsd.zl.browse.entity.vo.TBrowseEntityVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName TBrowse
 * @Description 描述
 * @author xyx
 * @date 2020-08-22 15:18:00
 * @Version v1.0
 */
@Component
@Mapper
public interface TBrowseDao extends BaseMapper<TBrowseEntity> {

	/**
	 * 按用户Id查询足迹列表
	 * @param appId
	 * @return List<BrowseEntityVo>
	 */
	List<TBrowseEntityVo> findCity(Integer appId);

	/**
	 * 订单查询
	 * @return List<OrderEntity>
	 */
	List<TOrderEntity> findOrder();

	/**
	 * 查询所有足迹
	 * @return List<BrowseEntity>
	 */
	List<TBrowseEntity> findBrowse();

}
